//
//  SYKSShiTiTopView.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/26.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYKSShiTiTopView.h"

@implementation SYKSShiTiTopView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/


- (void)setDetailsModel:(SYAnsweredQuestionDetail *)detailsModel {
    self.yingzuoLab.text = detailsModel.attendNum;
    self.zuotiLab.text = detailsModel.submitNum;
    self.zuoduiLab.text = detailsModel.rightNum;
    self.zhengquelvLab.text = [NSString stringWithFormat:@"%@%%",detailsModel.rightRate];
    self.defenlvLab.text = [NSString stringWithFormat:@"%@%%",detailsModel.scoreRate];
    self.zuocuoLab.text = detailsModel.wrongNum;
}


@end
